package com.cheneyjoo.model;

import java.io.Serializable;
import java.util.Date;

public class STUDENT implements Serializable {
    private static final long serialVersionUID = -8545151060504264675L;
    private int id;
    private String student_no;
    private String student_name;
    private int student_sex;
    private Date student_birth;
    private String student_email;
    private String student_desc;
    private int class_id;
    public STUDENT() {
    }

    public STUDENT(String student_no, String student_name, int student_sex, Date student_birth, String student_email, String student_desc) {
        this.student_no = student_no;
        this.student_name = student_name;
        this.student_sex = student_sex;
        this.student_birth = student_birth;
        this.student_email = student_email;
        this.student_desc = student_desc;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStudent_no() {
        return student_no;
    }

    public void setStudent_no(String student_no) {
        this.student_no = student_no;
    }

    public String getStudent_name() {
        return student_name;
    }

    public void setStudent_name(String student_name) {
        this.student_name = student_name;
    }

    public int getStudent_sex() {
        return student_sex;
    }

    public void setStudent_sex(int student_sex) {
        this.student_sex = student_sex;
    }

    public Date getStudent_birth() {
        return student_birth;
    }

    public void setStudent_birth(Date student_birth) {
        this.student_birth = student_birth;
    }

    public String getStudent_email() {
        return student_email;
    }

    public void setStudent_email(String student_email) {
        this.student_email = student_email;
    }

    public String getStudent_desc() {
        return student_desc;
    }

    public void setStudent_desc(String student_desc) {
        this.student_desc = student_desc;
    }

    public int getClass_id() {
        return class_id;
    }

    public void setClass_id(int class_id) {
        this.class_id = class_id;
    }

    @Override
    public String toString() {
        return "STUDENT{" +
                "id=" + id +
                ", student_no='" + student_no + '\'' +
                ", student_name='" + student_name + '\'' +
                ", student_sex=" + student_sex +
                ", student_birth=" + student_birth +
                ", student_email='" + student_email + '\'' +
                ", student_desc='" + student_desc + '\'' +
                '}';
    }
}
